<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
</head>
<body>
<form action="">
    <input type="text" name="title" placeholder="新闻名称搜索">
    <input type="text"  name="type" placeholder="分类搜索">
    <input type="text" name="state" placeholder="状态搜索">
    <a href="delete">回收站</a>
    <button type="submit">搜索</button>
</form>
        <table class="table">
            <tr>
                <th>编号</th>
                <th>标题</th>
                <th>分类</th>
                <th>封面</th>
                <th>推荐</th>
                <th>排序</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
            {foreach $data as $v}
            <tr>
                <td>{$v.id}</td>
                <td>{$v.title}</td>
                <td>{$v.type.type}</td>
                <td><img src="/storage/{$v.logo}" alt=""></td>
                <td>{$v.tuijian}</td>
                <td>{$v.order}</td>
                <td>{$v.state}</td>
                <td><a href="del?id={$v.id}">删除</a></td>
            </tr>
            {/foreach}
        </table>
{$data|raw}
</body>
</html>